/**
 * 邮件service接口
 */
package com.bys.ots.service;

import com.bys.ots.pojo.Result;

/**
 * @author bairuihua
 * 2019/11/26
 */
public interface MailService {

    Result sendVerifyCode(String email);

    void sendVerificationMail(String to, String title, String code);

    void sendEmail(String header, String body, String to, String title, String code);

    void sendComplaintEmail(String to, String title, String so, String userId, String type, String description);
}
